package model.dto;

import java.util.ArrayList;

import db.DAOFactory;

import model.Role;

/**
 * 
 * Description: 用于输出权限级别列表的DTO类。
 *  
 * @since  2009/3/3
 * @author ashen
 * 
 */
public class RoleList {
	private ArrayList<Role> list;

	public RoleList() {
		list=DAOFactory.getRoleDAO().findAll();
	}

	public RoleList(ArrayList<Role> list) {
		this.list = list;
	}

	public ArrayList<Role> getList() {
		return list;
	}

	public void setList(ArrayList<Role> list) {
		this.list = list;
	}
	
	
}
